package com.jzb.binmvvmlib;

import android.app.Application;
import android.content.Context;

import com.jzb.binmvvmlib.util.BinUtil;

/**
 * author jzb
 * Date: 2021/4/9
 * Describe:
 */
public abstract class BaseApplication extends Application {

    private static Context context;

    public static Context getContext() {
        return context;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        context=this;
        initApplication();
        BinUtil.initContext(this);
    }
    public abstract void initApplication();
}
